.player-panel {
  width: 380px;
  min-height: 80px;
  margin: 200px auto;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  .cover {
    position: relative;
    float: left;
    width: 80px;
    img {
      display: block;
      width: 100%;
    }
    .btn-play-toggle {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: block;
      width: 30px;
      height: 30px;
      box-sizing: border-box;
      border: solid 2px #fff;
      padding: 3px;
      border-radius: 50%;
      background-color: rgba(0, 0, 0, .2);
      outline: none;
      &:hover {
        background-color: rgba(0, 0, 0, .5);
      }
      svg {
        fill: #fff;
      }
    }
  }
  .control {
    float: right;
    width: 300px;
    height: 80px;
    padding: 20px;
    box-sizing: border-box;
    .song-info {
      white-space: nowrap;
      overflow: hidden;
    }
    .w-slider {
      height: 20px;
      margin-top: 10px;
    }
    .slider {
      float: left;
      width: 200px;
      height: 3px;
      margin-top: 9px;
      margin-left: 5px;
      background-color: #eee;
      .rank {
        position: relative;
        width: 0;
        height: 100%;
        border-radius: 3px;
        background-color: red;
        .point {
          position: absolute;
          top: -4px;
          right: -5px;
          width: 9px;
          height: 9px;
          border: solid 1px red;
          border-radius: 50%;
          background: white;
        }
      }
    }
    .duration {
      float: right;
      display: block;
      width: 50px;
      height: 20px;
      line-height: 20px;
      text-align: right;
      &::before {
        content: '-';
        margin-right: 2px;
      }
    }
  }
}